<!DOCTYPE html>
<html>
<head>
	<title>支付</title>
	<meta charset="UTF-8">
	<meta name="author" content="m.wine22.com">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">

	<link rel="stylesheet" type="text/css" href="/css/base.css" charset="UTF-8" />
	<link rel="stylesheet" type="text/css" href="/css/cart.css" />
</head>
<body>
	<#assign title="支付">
	<#include "/common/header.html">
	<#if order.amountTotal??>
	<div class="sett-list">
		<div class="sett-list-total"><strong>商品总价：</strong>&yen;&nbsp;${(order.amountTotal)?string("0.00")}</div>
	</div>
	
	<div class="sett-wapper sett-pay">
		<ul>
			<li class="sett-pay-title">请选择支付方式：</li>
			<#if payMethods??>
			<#list payMethods as item>
			<li>
				<img src="${(item.icon)!""}">
				<div class="sett-pay-name">${(item.name)!""}</div>
				<div class="sett-pay-check <#if item_index gt 0>sett-pay-check-no</#if>" payId=${(item.id)!""}></div>
			</li>
			</#list>
			</#if>
		</ul>
	</div>
		
	
	<!-- 底部占位的DIV -->
	<div class="bottom-div"></div>
	
	<!-- 底部工具栏和提示 -->
	<div class="tools-btm sett-btm">
		<div class="tools-btm-left sett-btm-left">
			<span>应付：</span>
			<strong>&yen;${(order.amountTotal)?string("0.00")}</strong>
		</div>
		<div class="tools-btm-right red-yellow-color sett-btm-right">
			<a href="/pay/apply.html?orderId=${(order.id)!0}&payMethodId=${payMethods[0].id}" id="payBtn">去支付</a>
		</div>
	</div>
	<#else>
	<div class="sett-list">${(msg)!"参数有误，请重试！"}</div>
	</#if>
</body>
<script type="text/javascript" src="/js/biz/payment.js"></script>
</html>
